Option Explicit
'OҲAppEventCls
Public WithEvents myApp As Application
Private Sub myApp_NewWorkbook(ByVal Wb As Workbook)
    MsgBox Wb.Name & "Qs@XӤFC by Application"
End Sub

'зǼҲ
Dim myAppCls As New AppEventCls
Sub InitializeAppEvent()
  Set myAppCls.myApp = Application
End Sub

